package com.hmall.common.constant;

/**
 * MQ 相关常量
 *
 * @author Zhy
 * @version 1.0
 * @date 2025-03-21 12:13
 */
public class MqConstants {

	/** 支付交换机名称 */
	public static final String PAY_EXCHANGE_NAME = "pay.direct";

	/** 支付路由键 */
	public static final String PAY_SUCCESS_KEY = "pay.success";

	/** 支付成功队列名称 */
	public static final String PAY_SUCCESS_QUEUE = "trade.pay.success.queue";

	/** 订单交换机名称 */
	public static final String TRADE_EXCHANGE_NAME = "trade.topic";

	/** 订单路由键 */
	public static final String ORDER_CREATE_KEY = "order.create";

	/** 购物车清理队列名称 */
	public static final String CART_CLEAR_KEY = "cart.clear.queue";

}
